package com.yyk.yiliao.bean;

import java.util.List;

/**
 * Created by Administrator on 2018/12/13 0013.
 */

public class UserbankBankcardInfo {

    @Override
    public String toString() {
        return "UserbankBankcardInfo{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }

    /**
     * code : 1
     * msg : 返回成功
     * data : [{"id":2,"name":"招商银行","img":null,"code":"CMB","state":1},{"id":3,"name":"建设银行","img":null,"code":"CCB","state":1},{"id":4,"name":"交通银行","img":null,"code":"BOCOM","state":1}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", name='" + name + '\'' +
                    ", img=" + img +
                    ", code='" + code + '\'' +
                    ", state=" + state +
                    '}';
        }

        /**
         * id : 2
         * name : 招商银行
         * img : null
         * code : CMB
         * state : 1
         */

        private int id;
        private String name;
        private Object img;
        private String code;
        private int state;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Object getImg() {
            return img;
        }

        public void setImg(Object img) {
            this.img = img;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }
    }
}
